<?php 
include_once("../../../configuracion/config.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/plantillaAdmin.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Nuevo integrante Proyecto</title>
<!-- InstanceEndEditable -->
<link rel="stylesheet" type="text/css" href="../../css/estilo.css"/>
<link rel="SHORTCUT ICON" href="../../../logo/unc.ico"/>
<!-- InstanceBeginEditable name="head" -->

<link rel="stylesheet" type="text/css" href="../../css/DatePicker.css"/>

<script type="text/javascript" src="../../js/mootools.js"></script>
<script type="text/javascript" src="../../js/DatePicker.js"></script>
<script type="text/javascript" src="../../js/fValidator-full.js"></script>
 <link rel="stylesheet" href="../../css/Autocompleter.css" type="text/css" media="screen"/>
	<script type="text/javascript" src="../../js/Observer.js"></script>
	<script type="text/javascript" src="../../js/Autocompleter.js"></script>
<script>
window.addEvent('domready', function(){
			 var myValidator = new fValidator("fproyecto");
			$('fproyecto').addEvent('submit', function(e) {
				
				/**
				 * Prevent the submit event
				 */
				new Event(e).stop();
			
				if(myValidator.result){ /*Si las restricciones de los campos se cumplen*/
						/**
						 * This empties the log and shows the spinning indicator
						 */
						var log = $('log_res_ajax').empty().addClass('ajax-loading');
					
						/**
						 * send takes care of encoding and returns the Ajax instance.
						 * onComplete removes the spinner from the log.
						 */
						this.send({
							update: log,
							onComplete: function() {
								log.removeClass('ajax-loading');
							}
						});
				}
			});
		}); 



</script>
<!-- InstanceEndEditable -->

</head>

<body>

<?php include('../estructura/encabezado.php');?>
<div class="menuIzqquierdo">

<?php include('../menu/menuIzq.html');?>

</div>
<div class="content"><!-- InstanceBeginEditable name="EditRegion3" -->
<? 
// Obiente los datos enviados por POST o GET
$data = data_submitted();
$idProyecto = $data->idProyecto;

?>
<div id="ajax_bar">
<h2> Incorporar Integrante</h2>
<img src="../../img/addintegrante.png" align="right"  title="Nuevo integrante proyecto" />
	<form id="fproyecto" action="ajax.form/integranteProyecto_add.php"  method="get" class="fValidator-form" name="fproyecto">

 <?php 

include_once("int_integranteProyecto.php");
?>
		
 
		<input id="submitter" class="right" type="submit" value="Ingresar Integrante" name="guardar"/>

	</form>
</div>
<div id="info">

		<div id="log_res_ajax"><!-- spanner --><?php 

include_once("../../info/integrantesProyecto.php");
?></div>
</div>
<p>&nbsp;</p>
<!-- InstanceEndEditable --></div>
<?php include('../estructura/pie.php');?>
</body>
<!-- InstanceEnd --></html>
 